SubbandAn Constructor(Int32,Int32,Int32,Int32,Int32,WaveletFilter[],WaveletFilter[])
In This Topic
Creates the top-level node and the entire subband tree, with the top-level dimensions, the number of decompositions, and the decomposition tree as specified.
This constructor just calls the same constructor of the super class, and then calculates the L2-norm (or energy weight) of each leaf.
This constructor does not initialize the value of the magBits or stepWMSE member variables. This variables are normally initialized by the quantizer (see Quantizer).
Syntax
'Declaration
Public Function New( _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal () As WaveletFilter, _
ByVal () As WaveletFilter _
)
public SubbandAn(
int ,
int ,
int ,
int ,
int ,
WaveletFilter[] ,
WaveletFilter[]
)
Parameters
- w
- The top-level width
- h
- The top-level height
- ulcx
- The horizontal coordinate of the upper-left corner with respect to the canvas origin, in the component grid.
- ulcy
- The vertical coordinate of the upper-left corner with respect to the canvas origin, in the component grid.
- lvls
- The number of levels (or LL decompositions) in the tree.
- hfilters
- The horizontal wavelet analysis filters for each resolution level, starting at resolution level 0.
- vfilters
- The vertical wavelet analysis filters for each resolution level, starting at resolution level 0.
See Also